home *** CD-ROM | disk | FTP | other *** search
/ Netware Super Library / Netware Super Library.iso / cc_mail / tristero / tristero.cmd < prev    next >
Encoding:
Text File  |  1995-03-31  |  1.1 KB  |  30 lines

  1. @echo off
  2. m:
  3. cd m:\ccrouter\tristero
  4.  
  5. rem
  6. rem Tristero --- TaskMgr Command File for OS/2 Router
  7. rem
  8. rem change 'tristero' to match the namegiven by GatewayPO in tristero.ini
  9. rem change 'password' to the password of the post office at m:\ccdata
  10. rem change 'Silver-HQ' to the name of the post office at m:\ccdata
  11.  
  12. m:\ccadmin\export2 tristero password m:\ccdata @tristero.exp NAME/1 HILITE FILES/HEX
  13. tristero
  14. del tristero.exp >nul
  15. if exist tristero.imp m:\ccadmin\import2 Silver-HQ password m:\ccdata @tristero.imp NAME/1 PARTIAL HILITE FILES/HEX
  16. if exist tristero.adm m:\ccadmin\import2 Silver-HQ password m:\ccdata @tristero.adm NAME/1 PARTIAL HILITE
  17.  
  18. rem check for import failures
  19. if exist ccmail.und copy tristero.rej+ccmail.und tristero.adm
  20. if exist tristero.adm m:\ccadmin\import2 Silver-HQ password m:\ccdata @tristero.imp NAME/1 PARTIAL FILES/HEX
  21. if exist ccmail.und del ccmail.und
  22.  
  23. rem optionally import ADE updates
  24. if exist tristero.ade m:\ccadmin\import2 Silver-HQ password m:\ccdata @tristero.ade NAME/1 DIRECTORY
  25.  
  26. rem Or optionally squelch them
  27. rem if exist tristero.ade del tristero.ade
  28.  
  29. cd m:\ccrouter
  30.